# coding=utf-8

def add(a,b):
	return a+b

def sub(a,b):
	if a>b:
		return a-b 
	elif b>a:
		return b-a 

def times(a,b):
	return a*b 
	
def divaid(a,b):
	try:
		if a>b:
			return a/b 
		elif b>a:
			return b/a 
	except ZeroDivisionError as e:
		print("错误:")

def index(a,b):
	return a**b 

def flor_divaid(a,b):
	return a//b 
	
def clac(a,b,opr):
	if opr=="+":
		return add
	elif opr=="-":
		return sub
	elif opr=="*":
		return times
	elif opr=="/":
		return divaid
	elif opr=="//":
		return flor_divaid

a = input("输入第一个值")
b = input("输入第二个值")
opr = input("输入运算符号")
answer = clac(a,b,opr)
print("{0}{1}{2}={3}".format(a,opr,b,answer)